<template>
  <InputTextarea
    v-bind="props.record?.componentProps"
    :style="{
      height: record?.height + 'px',
      minHeight: '60px',
      width: record?.widthUnit?.width + record?.widthUnit?.unit,
    }"
  />
</template>
<script lang="ts" setup>
  import { PropType } from 'vue';
  import type { NodeItem } from '/@/views/formDesigner/core/types/epic-designer';
  import Input from 'ant-design-vue/lib/input';
  const InputTextarea = Input.TextArea;
  const props = defineProps({
    record: {
      type: Object as PropType<NodeItem>,
      default: () => ({}),
    },
  });
</script>
